package cn.itcast.ssh.service;

import cn.itcast.ssh.bean.TaskView;
import cn.itcast.ssh.domain.ApproveInfo;
import cn.itcast.ssh.domain.Employee;
import cn.itcast.ssh.domain.Form;

import java.util.List;

/**
 * @author xiongshiyan at 2021/3/16 , contact me with email yanshixiong@126.com or phone 15208384257
 */
public interface FormFlowService {

    Form getById(Long id);

    void submit(Form form);

    List<TaskView> getMyTaskViewList(Employee currentUser);

    void approve(ApproveInfo approveInfo, String taskId);
}
